package com.prig.base.DTO.output;

import com.prig.base.entity.Permission;

import java.util.List;

public class RolePermissionsOutDto {
    private List<Permission> all;
    private List<Permission> exist;
    private long roleId;

    public RolePermissionsOutDto(List<Permission> all, List<Permission> exist, long roleId) {
        this.all = all;
        this.exist = exist;
        this.roleId = roleId;
    }

    public List<Permission> getAll() {
        return all;
    }

    public void setAll(List<Permission> all) {
        this.all = all;
    }

    public List<Permission> getExist() {
        return exist;
    }

    public void setExist(List<Permission> exist) {
        this.exist = exist;
    }

    public long getRoleId() {
        return roleId;
    }

    public void setRoleId(long roleId) {
        this.roleId = roleId;
    }
}
